package com.example.lotterysystem.service.dto;

import com.example.lotterysystem.service.enums.ActivityStatusEnum;
import lombok.Data;

import java.io.Serializable;

@Data
public class ActivityDTO implements Serializable {
    private Long id;
    private String activityName;
    private String description;
    private ActivityStatusEnum status;

    public Boolean valid(){
        return status.equals(ActivityStatusEnum.RUNNING);
    }
}
